<template>
  <div class="layout">
    <Layout>
      <Head />
      <Content :style="{padding: '0 50px'}">
        <Breadcrumb />
        <Card>
          <div style="min-height: 200px;">
            <!-- 一级路由挂载点 -->
            <Nuxt />
          </div>
        </Card>
      </Content>
      <Footer class="layout-footer-center">
        2011-2016 &copy; TalkingData
      </Footer>
    </Layout>
  </div>
</template>
<script>
import Head from '@/components/head/index.vue'
import Breadcrumb from '@/components/bread/index.vue'
export default {
  components: {
    Head,
    Breadcrumb
  }

}
</script>

<style>
.layout{
    border: 1px solid #d7dde4;
    background: #f5f7f9;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.layout-logo{
    width: 100px;
    height: 30px;
    background: #5b6270;
    border-radius: 3px;
    float: left;
    position: relative;
    top: 15px;
    left: 20px;
}
.layout-nav{
    width: 420px;
    margin: 0 auto;
    margin-right: 20px;
}
.layout-footer-center{
    text-align: center;
}
</style>
